package com.example.domain.qo.user;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
public class DeletedQo {

    /***
     * //用户ID
     */
    @NotNull(message = "userId不能为空")
    @Min(value = 0, message = "userId最小值为零")
    private Long userId;
}
